package travlefate.story.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author keven
 * @data 15/12/24 下午4:35
 * @package travlefate.story.bean
 */

public class ResultStory implements Serializable{


    /**
     * id : 3018
     * story_time : 1450942713
     * story_info : 468667
     * pics : ["20151224/567ba0f9073c6.png"]
     * uid : 10
     * lng : 0.0
     * lat : 0.0
     * city : 成都
     * readcount : 0
     * comment : 0
     * user : {"id":"10","username":"123","usersex":"0","useremail":null,"nickname":"吉林","birthday":null,"portrait":null,"signature":null}
     */

    private String id;
    private String story_time;
    private String story_info;
    private String uid;
    private String lng;
    private String lat;
    private String city;
    private String readcount;
    private String comment;
    /**
     * id : 10
     * username : 123
     * usersex : 0
     * useremail : null
     * nickname : 吉林
     * birthday : null
     * portrait : null
     * signature : null
     */

    private UserEntity user;
    private List<String> pics;

    public void setId(String id) {
        this.id = id;
    }

    public void setStory_time(String story_time) {
        this.story_time = story_time;
    }

    public void setStory_info(String story_info) {
        this.story_info = story_info;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setReadcount(String readcount) {
        this.readcount = readcount;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public void setPics(List<String> pics) {
        this.pics = pics;
    }

    public String getId() {
        return id;
    }

    public String getStory_time() {
        return story_time;
    }

    public String getStory_info() {
        return story_info;
    }

    public String getUid() {
        return uid;
    }

    public String getLng() {
        return lng;
    }

    public String getLat() {
        return lat;
    }

    public String getCity() {
        return city;
    }

    public String getReadcount() {
        return readcount;
    }

    public String getComment() {
        return comment;
    }

    public UserEntity getUser() {
        return user;
    }

    public List<String> getPics() {
        return pics;
    }

    public static class UserEntity implements Serializable{
        private String id;
        private String username;
        private String usersex;
        private String useremail;
        private String nickname;
        private String birthday;
        private String portrait;
        private String signature;

        public void setId(String id) {
            this.id = id;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public void setUsersex(String usersex) {
            this.usersex = usersex;
        }

        public void setUseremail(String useremail) {
            this.useremail = useremail;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public String getId() {
            return id;
        }

        public String getUsername() {
            return username;
        }

        public String getUsersex() {
            return usersex;
        }

        public String getUseremail() {
            return useremail;
        }

        public String getNickname() {
            return nickname;
        }

        public String getBirthday() {
            return birthday;
        }

        public String getPortrait() {
            return portrait;
        }

        public String getSignature() {
            return signature;
        }
    }
}
